import { get, post, del, put } from "../utils/request";
export const loadZixun = (page) => get("/api/v1/admin/article", { page });
export const addZixun = (data) => post("/api/v1/admin/article", data);

export const updataZixun = (id, data) =>
  put(`/api/v1/admin/article/${id}`, data);

export const deleteZixun = (id) => del("/api/v1/admin/article/" + id);
